// TDesign 组件全量引入
import TDesign, { MessagePlugin, LoadingPlugin, DialogPlugin, NotifyPlugin } from 'tdesign-vue-next'
import 'tdesign-vue-next/es/style/index.css'

// 进度条 Bar
import NProgress from 'nprogress'
import 'nprogress/nprogress.css'

// 动效库
import 'animate.css'

// 全局样式
import '@/style/app.scss'
import '@/style/font.scss'
import '@/style/nprogress.scss'

// 隐藏进度条 Loading
NProgress.configure({ showSpinner: false });

// UI 操作
const ui = { 
  MessagePlugin,
  LoadingPlugin,
  DialogPlugin,
  NotifyPlugin
}

export default TDesign
export { NProgress, ui }